home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung / Power-Programmierung (Tewi)(1994).iso / magazine / msysjour / vol04 / 06 / errexit.c < prev    next >
C/C++ Source or Header  |  1989-07-31  |  242b  |  17 lines

  1. /* errexit.c RHS 7/15/89
  2.  *
  3.  */
  4. #define INCL_DOS
  5. #include<os2.h>
  6. #include<stdio.h>
  7.  
  8. #include"errexit.h"
  9.  
  10. void error_exit(USHORT err, char *msg)
  11.     {
  12.     printf("Error %u returned from %s\n",err,msg);
  13.     DosExit(EXIT_PROCESS,0);
  14.     }
  15.  
  16.  
  17.